export const PAGE_CODE = 'dcs-sales-KDSaleOrder';
import {PAGE} from '../constants';

export const DEFAULT_QUERY_OPTION = {
    dealerId: '',
    brandId: '',
    piCode: '',
    country: '',
    orderType: undefined,
    transportType: undefined,
    marketDepartmentId: '',
    code: '',
    createTime: undefined,
    dataSource: undefined,
    // piCode: '',
    status: [],
    pageIndex: PAGE.index,
    pageSize: PAGE.size,
    sortField: 'createTime',
    isDesc: true
};
// 操作权限
export const PERMISSION = {
    export: 'export',
    approve: 'approve',
    add: 'add',
    update: 'update',
    operationDepartmentApprove: 'operationDepartmentApprove',
    submit: 'submit',
    generalManagerApprove: 'generalManagerApprove',
    abandon: 'abandon',
    cancel: 'cancel',
    force: 'force'
};

